package com.baizhi.usercloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableHystrix //开启熔断器
@EnableFeignClients  //启用feign客户端
@EnableDiscoveryClient//设置为开启eureka客户端
@SpringBootApplication
public class UserCloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserCloudApplication.class, args);
    }

}
